package cn.hwy.societies.controller;

import cn.hwy.societies.pojo.Activity;
import io.swagger.annotations.Api;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;

@Controller
@Api(tags = "活动相关接口", description = "提供用户相关的 Rest API")
public class ActivityController{

//    ActivityMapper activityMapper;

    /**
     * 发布活动
     * @return
     */
    @GetMapping("/activity_add")
    public Activity activity_add(@RequestBody Activity activity){
//        activityMapper.add(ddsfsdfsd)
        return null;
    }

    @GetMapping("/activity_del")
    public Activity activity_del(){
        return null;
    }

    @GetMapping("/activity_update")
    public Activity activity_update(){
        return null;
    }

    @GetMapping("/activity_query")
    public Activity activity_query(){
        return null;
    }



}
